Rank 2 Intersection Type Assignment in Term Rewriting Systems
نویسنده
چکیده
A notion of type assignment on Curryfied Term Rewriting Systems is introduced that uses Intersection Types of Rank 2, and in which all function symbols are assumed to have a type. Type assignment will consist of specifying derivation rules that describe how types can be assigned to terms, using the types of function symbols. Using a modified unification procedure, for each term the principal pair (of basis and type) will be defined in the following sense: from these all admissible pairs can be generated by chains of operations on pairs, consisting of the operations substitution, copying, and weakening. In general, given an arbitrary typeable CuTRS, the subject reduction property does not hold. Using the principal type for the left-hand side of a rewrite rule, a sufficient and decidable condition will be formulated that typeable rewrite rules should satisfy in order to obtain this property.
منابع مشابه
Rank 2 Types for Term Graph Rewriting Extended
We define a notion of type assignment with polymorphic intersection types of rank 2 for a term graph rewriting language that expresses sharing and cycles. We show that type assignment is decidable through defining, using the extended notion of unification from [5], a notion of principal pair which generalizes ml’s principal type property.
متن کاملRank 2 Types for Term Graph Rewriting
We define a notion of type assignment with polymorphic intersection types of rank 2 for a term graph rewriting language that expresses sharing and cycles. We show that type assignment is decidable through defining, using the extended notion of unification from [5], a notion of principal pair which generalizes ml’s principal type property.
متن کاملType assignment and termination of interaction nets
Interaction nets have proved to be a useful tool for the study of computational aspects of diierent formalisms (e.g.-calculus, term rewriting systems), but they are also a programming paradigm in themselves, and this is actually how they were introduced by Lafont. In this paper we consider semi-simple interaction nets as a programming language, and present a type assignment system using interse...
متن کاملPolymorphic Intersection Type Assignment for Rewrite Systems with Abstraction and -rule?
We define two type assignment systems for first-order rewriting extended with application, -abstraction, and -reduction (TRS+ ). The types used in these systems are a combination of (!-free) intersection and polymorphic types. The first system is the general one, for which we prove a subject reduction theorem and show that all typeable terms are strongly normalisable. The second is a decidable ...
متن کاملNormalisation and Approximation results for typeable Term Rewriting Systems (with abstraction and β-rule) Summary
There are essentially three paradigms in common use for the design of functional programming languages: the λ-calculus (LC for short), Term Rewriting Systems (TRS), and Term Graph Rewriting Systems (TGRS). The LC, or rather combinator systems, forms the underlying model for the functional programming language Miranda1 [35], TRS are used in the language OBJ [24], and TGRS form the base model for...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Fundam. Inform.
دوره 26 شماره
صفحات -
تاریخ انتشار 1996